package com.extendsDemo.Demo02;

/*
要写注释哦!!!
*/
public class Teacher extends Person {
    private String skills;


    public String getSkills() {
        return skills;
    }

    public void setSkills(String skills) {
        this.skills = skills;
    }

    public void printInfo() {
        System.out.println(getName() + "的技能为：" + skills);
    }
}
